package cn.iocoder.yudao.module.yyzx.controller.admin.service.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 服务关注 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ServiceRespVO {

    @Schema(description = "id主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("id主键")
    private Integer id;

    @Schema(description = "备注信息")
    @ExcelProperty("备注信息")
    private String remarks;

    @Schema(description = "逻辑删除标记")
    @ExcelProperty(value = "逻辑删除标记", converter = DictConvert.class)
    @DictFormat("DEL_FLAG") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String delFlag;

    @Schema(description = "老登ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("老登ID")
    private Integer eldenId;

    @Schema(description = "服务项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务项目ID")
    private Integer serviceid;

    @Schema(description = "购买数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("购买数量")
    private BigDecimal amount;

    @Schema(description = "服务购买日", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务购买日")
    private LocalDateTime buytime;

    @Schema(description = "服务到期日", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务到期日")
    private LocalDateTime maturitytime;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String otherinfo;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}